package factoryModel.abstractFactoryModel.factory;

import factoryModel.abstractFactoryModel.ingredient.AnHuiCheese;
import factoryModel.abstractFactoryModel.ingredient.AnHuiDough;
import factoryModel.abstractFactoryModel.ingredient.Cheese;
import factoryModel.abstractFactoryModel.ingredient.Dough;

/**
 * @author 帅小伙
 * @date 2021/12/29
 * @description
 */
public class AhPizzaIngredientFactory implements PizzaIngredientFactory{
    @Override
    public Dough createDough() {
        return new AnHuiDough();
    }

    @Override
    public Cheese createCheese() {
        return new AnHuiCheese();
    }
}
